<?php
$this->breadcrumbs = array(
	'登陆管理',
);
$this->userActions = array(
	array(
		'label' => '新建登陆',
		'url' => array(
			'user/create'
		),
		'iconClass' => 'icon-user-add',
	)
);
?>

<h1>登陆管理</h1>
<?php $this
	->widget('zii.widgets.grid.CGridView',
		array(
			'id' => 'user-grid',
			'dataProvider' => $model->search(),
			'filter' => $model,
			'columns' => array(
				//'id',
				'username',
				//'password',
				array(
					'type' => 'raw',
					'value' => 'CHtml::link("更新权限",array("userAccess/update", "userId"=>$data->id))'
				),
				array(
					'name' => 'active',
					'type' => 'boolean',
					'filter' => JHTML::getBooleanValues(),
				),
				array(
					'class' => 'CButtonColumn',
				),
			),
		));
?>
